package com.yushu.authority.pojo.bo;

import java.io.Serializable;
import java.util.*;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * @author test
 * @CreateDate 2020-12-03 15:47:24
 */
@Data
@TableName("pm_menu")
public class PmMenu implements Serializable {
    private static final long serialVersionUID = 1L;
    //列开始
    @Getter
    @Setter
    private Integer sort;//排序
    @Getter
    @Setter
    private String userId;//创建者

    @Getter
    @Setter
    private String orgId;//所属机构
    @Getter
    @Setter
    private String url;//连接地址
    @Getter
    @Setter
    private String menuName;//菜单名称
    @Getter
    @Setter
    @TableId(value = "id", type = IdType.UUID)
    private String id;//主键
    @Getter
    @Setter
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间
    @Getter
    @Setter
    private Integer deep;//深度
    @Getter
    @Setter
    private String moduleId;//模块外键
    @Getter
    @Setter
    private String icon;//图标
    @Getter
    @Setter
    private String code;//编码
    @Getter
    @Setter
    private String resource;//资源名称
    @Getter
    @Setter
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;//更新时间
    @Getter
    @Setter
    private String updateUserId;//更新者
    @Getter
    @Setter
    @TableField(value = "p_id")
    private String pid;//父级菜单ID
    //列结束
}
